<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>攒文攫字-{$title|escape}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="/css/styles.css" type="text/css" media="all" />
<script type="text/javascript" src="/js/prototype.js"></script>
<script type="text/javascript" src="/js/scriptaculous/scriptaculous.js"></script>
<script type="text/javascript" src="/js/scripts.js"></script>
{if $lightbox}
<script type="text/javascript" src="/js/lightbox.js"></script>
<link rel="stylesheet" href="/css/lightbox.css" type="text/css" />
{/if}
</head>
<body>
<div id="container">
<div id="header">
<div id="brows">
<ul>

{if $authenticated}
    {$identity->username|escape}，欢迎你！
{else}
    <strong>游客</strong>
{/if}
    {if $authenticated}
        <li {if $section =='home'} class="active"{/if}>
            <a href="{geturl route='space' username=$identity->username}">个人首页</a>
        </li>
        <li {if $section =='account'} class="active"{/if}>
            <a href="{geturl controller='account'}">账户信息</a>
        </li> 
		<li {if $section =='logout'} class="active"{/if}>
		    <a href="{geturl controller='account' action='logout'}">登出</a>
		</li> 
	{else}
		<li {if $section =='register'} class="active"{/if}>
		    <a href="{geturl controller='account' action='register'}">注册</a>
		</li> 
		<li {if $section =='login'} class="active"{/if}>
		    <a href="{geturl controller='account' action='login'}">登录</a>
		</li> 
	{/if}
</ul>
</div>
<div id="logo">

</div>
<div id="nav">
<ul>
<li><a href="{geturl controller='index'}"><span>首页</span></a></li>
<li><a href="{geturl controller='space'}"><span>空间</span></a></li>
<li><a href="{geturl controller='article'}"><span>文章</span></a></li>
<li><a href="{geturl controller='circle'}"><span>圈子</span></a></li>
<li><a href="{geturl controller='ablum'}"><span>相册</span></a></li>
<li><a href="{geturl controller='application'}"><span>应用</span></a></li>
</ul>
</div>
<div id="breadcrumbs">
{breadcrumbs trail=$breadcrumbs->getTrail()}
</div>


</div>
<div id="rightside">
